package com.sumainfor.pc.cfo.fallback;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.cfo.feign.BaseZullFeign;
import org.springframework.stereotype.Component;

import java.util.Collection;

/**
 * @Author Eddy·Chen
 * @Email 835033913@qq.com
 * @Create 2019-05-06 15:40
 */
@Component
public class FeignZuulFallback implements BaseZullFeign {
    @Override
    public JsonResult getUserInfo(Collection<String> ids) {
        return JsonResult.error("服务器繁忙...");
    }

}
